package com.zxmr.domain.component;

/**
 * this class describe the basic information of the component the may be used when 
 * authorize and query
 */
import com.zxmr.domain.Domain;

public class Component extends Domain{

	int id;
	String name;
	// rabbit queue name
	String queueName;
	
	// the field will show on the web page such as Ȩ�޹���
	String display;
	String version;
	double price;
	String description;
	
	/**
	 * interval for the price
	 */
	int days;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getDays() {
		return days;
	}
	public void setDays(int days) {
		this.days = days;
	}
	public String getQueueName() {
		return queueName;
	}
	public void setQueueName(String queueName) {
		this.queueName = queueName;
	}
	public String getDisplay() {
		return display;
	}
	public void setDisplay(String display) {
		this.display = display;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	
}
